package com.csust.automaticteach.model.dto.knowledgegraph.response;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassNameGraphOption
 * @Description response
 * @Author钰玟
 * @Date2025/7/19 下午1:42
 * @Version 1.0
 **/
@Data
public class GraphOption implements Serializable {

    List<Node> nodes;
    List<Link> links;

    @lombok.Data
    public static class Node {
        private String name;
        private Integer category;
    }

    @lombok.Data
    public static class Link {
        private String source;
        private String target;
    }
}
